﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Himp.Outpatient
{
    /// <summary>
    /// 门诊排班记录
    /// </summary>
    public class OtpSchdRecDto : EntityDto<Guid>
    {
        /// <summary>
        /// 门诊排班计划Id
        /// </summary>
        public Guid OtpSchdPlanId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public OtpSchdPlanDto OtpSchdPlan { get; set; }

        /// <summary>
        /// 门诊排班时段Id
        /// </summary>
        public Guid OtpSchdPeriodId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public OtpSchdPeriodDto OtpSchdPeriod { get; set; }

        /// <summary>
        /// 排班日期
        /// </summary>
        public DateTime SchdDate { get; set; }

        /// <summary>
        /// 排班星期
        /// </summary>
        public int SchdWeek { get; set; }

        /// <summary>
        /// 科室编码
        /// </summary>
        public string DeptCodg { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 医师编码
        /// </summary>
        public string? DrCodg { get; set; }

        /// <summary>
        /// 医师姓名
        /// </summary>
        public string? DrName { get; set; }

        /// <summary>
        /// 医师职称代码
        /// </summary>
        public string? DrProfttlCode { get; set; }

        /// <summary>
        /// 医师职称名称
        /// </summary>
        public string? DrProfttlName { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amt { get; set; }

        /// <summary>
        /// 排班状态
        /// </summary>
        public int SchdStas { get; set; }

        /// <summary>
        /// 门诊挂号类别Id
        /// </summary>
        public Guid OtpRgstTypeId { get; set; }

        ///// <summary>
        ///// 门诊挂号类别编码
        ///// </summary>
        //public string OtpRgstTypeCodg { get; set; }

        /// <summary>
        /// 门诊挂号类别名称
        /// </summary>
        public string OtpRgstTypeName { get; set; }

        /// <summary>
        /// 总数
        /// </summary>
        public int Total { get; set; }

        /// <summary>
        /// 剩余数
        /// </summary>
        public int OverCnt { get; set; }

        /// <summary>
        /// 复诊
        /// </summary>
        public bool FollupFlag { get; set; }

        /// <summary>
        /// 建档标识
        /// </summary>
        public bool MedrecFlag { get; set; }

        /// <summary>
        /// 分诊标识
        /// </summary>
        public bool TrgFlag { get; set; }

        /// <summary>
        /// 签到标识
        /// </summary>
        public bool SignFlag { get; set; }

        /// <summary>
        /// 门诊排班信息明细
        /// </summary>
        public List<OtpSchdRecDetlDto> OtpSchdInfoDetls { get; set; }
    }
}
